home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wonky Flux Batch 2019 02
/
Wonky_Flux_Batch_2019-02.zip
/
Wonky Flux Batch 2019-02
/
106 - Proboard KEY Floppy - Must be in Drive 1.dsk
/
TOP.POSTS.MOD.txt
< prev
next >
Wrap
Text File
|
2019-02-17
|
3KB
|
123 lines
To: All
From: Ian Cameron (#79)
Date: Wed. Aug 9, 1989 @ 07:51:01
Does anyone have any Really good top Posters mods. To calculate the number of
posts or bytes??. I tried a few but they did not work properly. I whould
appreate if anyone could help.
[B5 #243 of 250] ? or Cmd [N]#
Brd: Other Modules Q&A Board
Numb: 244 of 250
Sub: Top Ten Posts
To: Ian Cameron
From: Michael Faust (#684)
Date: Wed. Aug 9, 1989 @ 11:01:48
;---------------------------------------- <- Insert at login3
open #1,"b:char"
position #1,20,un
input #1,l1,ll:close
l2$=str$(ll)
if l1 l2$=str$(l1)+right$("000"+l2$,4)
;----------------------------------------
term2
close
open #1,"b:users":nibble(6)=nibble(6)+1:tc=tc+1
byte(1)=tc mod 256:nibble(1)=tc/256
byte(2)=bp mod 256:nibble(2)=bp/256
byte(3)=dl mod 256:nibble(3)=dl/256
byte(4)=ul mod 256:nibble(4)=ul/256
byte(5)=lr mod 256:byte(6)=lr/256
byte(10)=u1 mod 256:byte(11)=u1/256
byte(12)=u2 mod 256:byte(13)=u2/256
byte(14)=d1 mod 256:byte(15)=d1/256
byte(16)=d2 mod 256:byte(17)=d2/256
byte(0)=info(3):when$="x"
if flag(1) nibble(5)=5
if flag(2) nibble(5)=6
position #1,128,un
print #1,a1$,a2$\a3$\a4$,a5$
position #1,128,un,70
write #1,ram,58:close
;--------------------------------------
open #1,"b:char":position #1,20,un
print #1,l1,ll:close
;--------------------------------------
kill "h:batch"
f3=(bp*100)/tc:f4=(ul*100)/tc
open #1,"b:user.stats"
position #1,55,un
print #1,a3$,tc,f3,f4,lc$:close #1
Add at beginning of term3
;-----------------------------------------------
close:clear#8
a=0:open #1,"b:top.chars"
for x=1 to 10:input #1,i$,a1,a2
if (a3$=i$) and (ll=a2) x=10:next:goto nowrite
if (l1>a1) and not(a) print #8,a3$,l1,ll:a=1:goto top1
if (l1=a1) and (ll>a2) and not(a) print #8,a3$,l1,ll:a=1
top1
if a3$=i$ next:goto top2
print #8,i$,a1,a2:next
top2
close:if not(a) goto nowrite
kill "b:top.chars":create "b:top.chars"
open #1,"b:top.chars":copy#8,#1:close:a=x
nowrite
if not info(5)....
if c2>9999 then c2=0.....
...
...
...
;-------------------------------------------------
public start <------
..... goto start <--------- Change to goto start1
Will show top 10 posters when first going on the subs
; *** bulletins / e-mail ***
;------------------------------------------------
start1
on nocar goto link.term
print \\"Top 10 Writers (Bytes posted) as of "date$\
close:open #1,"b:top.chars"
for x=1 to 10:input #1,i$,a1,a2
a$=str$(a2):if a1 a$=str$(a1)+right$("000"+str$(a2),4)
print x"."left$(i$+"....................",20)" "a$" Bytes"
next:close:print \\"Hit [ Return ]":get i$
;-----------------------------------------------------------
start
gosub idinf
if lz=1 lz=0:a=val(i$):goto qscan
if bf$="" print \"That board is down right now.":return
if not b1 print \"You do not have access to that board.":return
if i$="Q" gosub qscan
cmd1
Add this area (stuff between the -----) at the end where it saves the message
before the return statement
post6
copy #8,#6:msg(a)=mn:mn=mn+1:update:tm=tm+1
print ".saved":ti$="":a$=""
print "THANKS for posting!"
print "It contains "edit(2)" characters.."
;---------------------------------------------------
ll=ll+edit(2):if ll>9999 then ll=ll-10000:l1=l1+1
l2$=str$(ll)
if l1 l2$=str$(l1)+right$("000"+l2$,4)
print "Total characters posted: "l2$" Thanks!"
;---------------------------------------------------
return
Mike..